import axios from '../http_axios'

export default {
  getGoodsList: () => {
    return axios({
      method: 'post',
      url: '/good_list',
      data: {

      }
    })
  },
  getGoodsListByPage: () => {
    return axios({
      method: 'get',
      url: '/good_listbyPage',
      params: {

      }
    })
  },
  getGoodsByID: (id) => {
    return axios({
      method: 'post',
      url: '/goodbyID',
      data: {
        id
      }
    })
  }
}
